﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DotNet
{
    public class RestrictType
    {}

    public class MyGenericClass<T1, T2> where T1 : RestrictType
    {
        public List<TOutput> MyGenericMethod<TInput, TOutput>(TInput input, T1 para) where TInput : RestrictType
        {
           return new List<TOutput>();
        }
    }
}
